(add-to-list 'load-path
	     (expand-file-name (concat user-emacs-directory "lisp")))

(setq custom-file (expand-file-name "custom.el" user-emacs-directory))


;(require 'init-const)
(require 'init-startup)
(require 'init-elpa)
(require 'init-dashboard)
(require 'init-theme)
(require 'init-package)
(require 'init-lsp)

;;M-x 命令补全
(fido-mode t)

;; vim mode ， C-z 来回切换 Emacs-Vim
(setq viper-mode t)
(require 'viper)

(when (file-exists-p custom-file)
  (load-file custom-file))

